#include"TcpServer.hpp"
#include<memory>


int main()
{
    Command cmd;
    std::unique_ptr<TcpServer> tcp_ptr=std::make_unique<TcpServer>([&cmd](std::string cmdstr){
        return cmd.Execute(cmdstr);
    });
    tcp_ptr->InitServer();
    tcp_ptr->Start();
    return 0;
}